//
//  AwsData.m
//  AWS Viewer
//
//  Created by Tim Kieboom
//  Copyright (c) 2013 AI&I. All rights reserved.
//


#import "CurrentAwsData.h"

@implementation CurrentAwsData
@synthesize  airPressure, humidity, rainRate, temperature, windDirection, windSpeed;

-(id)initWithParams:(NSString *)airPressure_ :(NSString *)humidity_ :(NSString *)rainRate_ :(NSString *)temperature_ :(NSString *)windDirection_ :(NSString *)windSpeed_
{
    self = [super init];
    if (self) {
        airPressure = [airPressure_ floatValue];
        humidity = [humidity_ intValue];
        rainRate = [rainRate_ intValue];
        temperature = [temperature_ floatValue];
        windDirection = [windDirection_ intValue];
        windSpeed = [windSpeed_ floatValue];
    }
    return self;
}

@end
